home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0497 / AMOSLIST / text0023.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  1.1 KB  |  38 lines

  1. On Thu, 03 Apr 97, Jamie B wrote:
  2.  
  3. *** Start of forwarded message
  4. Okay, I'm not going to brag on about anything... All I want to know
  5. is how to use normaly inputs and take "BITS" from it, and make it
  6. NON case sensative...
  7. *** End of forwarded message 
  8.  
  9. For Jamie, and anyone else who is interested...
  10. I wrote a prog once that splits a string into it's words using something
  11. like...
  12.  
  13. For LETTER_NUMBER = 1 To Len(TEXT$)
  14.   LETTER$=Mid$(TEXT$,LETTER_NUMBER,1)
  15.   WORD$=WORD$+LETTER$
  16.   If LETTER$=' ':Rem Found a space must have a whole word
  17.     Proc DO_SOMETHING_WITH [WORD$]
  18.   End If
  19. Next
  20.  
  21. For Case non sensitivity use either Upper$(WORD$) or Lower$(WORD$)
  22.  
  23. If Anyone wants source, which takes an input, extracts the words, searches
  24. for them in a vocabulary or adds to the current vocab if the word doesn't
  25. exist, and builds a list of words you can use after other words and then
  26. spits out random samplings of the words it knows in orders it knows...
  27. <phew>
  28. Then let me know.
  29.  
  30. It was based on a prog called DANI- Dynamic Artificial Non-Intelligence,
  31. Although I renamed my version ELLE- English Language Linkage Editor.
  32.  
  33. -- 
  34. Adam.
  35.  
  36.  
  37.  
  38.